import requests

with requests.get(
        'https://gd-hbimg.huaban.com/4f0619632a050a08a0d1bebf301bd9be6cc884da2c83eb-nGl0YT') as response, open(
        'download_picture.jpg', 'wb') as f:
    f.write(response.content)  # 将图片内容（二进制）写入到文件，其实也就是下载并保存了图片。
